/**
 * Displays the finale screen, with final scores etc.
 * 
 * @author ben
 *
 */
public class FinaleScreen extends Screen {
	
	public FinaleScreen(Carcassonne c)
	{
		super(c);	
	}
	
	public void draw()
	{
		int dy = 0;
		c.fill(0);
		for(Player p: c.g.players)
		{				
			c.text("Player " + p.name + " scores " + String.valueOf(p.score),0,dy);
			dy += c.textAscent() + c.textDescent();
		}
	}
	
	public boolean mousePressed(int x, int y)
	{
		return true;		
	}
}
